<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .left{
      width: 33.3333%;
      height: 100%;
      background-color: rgb(248, 167, 167);
    }
    .center{
      width: 33.3333%;
      height: 100%;
      background-color: rgb(150, 84, 84);

    }
    .right{
      width: 33.333%;
      height: 100%;
      background-color: antiquewhite;
    }

  </style>
</head>
<body>
  <header>
    {% if request.user.is_authenticated %}
    <ul style="display: flex;">
      <li><a href="">修改密码</a></li>
      <li><a href="">修改头像</a></li>
      <li><a href="/logout">注销</a></li>
    </ul>
  {% else %}
    <li><a href="/login">登录</a></li>
    <li><a href="/rigister"></a>注册</li>
  {% endif %}
  </header>
  <main style='display: flex;'>
   {% load my_tags %}
   {% get_classification_style username %}
    <div class="center">
      <div class="article_list">
        
        {% block content%}

        {% endblock %}
      </div>
      


    </div>
    <div class="right">r</div>
  </main>
</body>
</html>